# def apply_twice(func, arg):#高阶函数把函数作为参数调用或返回一个函数
#     return func(func(arg))

# def add_five(x):
#     return x + 5

# print(apply_twice(add_five, 10))


import re 
pattern = r"test"
match = re.search(pattern,"test")
print(match.start())
print(match.end())
